
using jinmaMesProxy.DataAccess;

namespace jinmaMesProxy
{
    public class Program
    {
        public static void Main(string[] args)
        {
            var builder = WebApplication.CreateBuilder(args);
            Booter.Setup(builder);
            SqlView.Setup();
            builder.Services.AddControllers();
            var app = builder.Build();
            ServiceLoader.InitHttpServiceProvider(app.Services);
            app.UseAuthorization();
            app.MapControllers();

            app.Run();
        }
    }
}
